package com.sqx.modules.creation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 作品评论回复点赞表
 * </p>
 *
 * @author author
 * @since 2024年09月07日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("n_creation_good")
public class NCreationGood implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 点赞id
     */
    @TableId(value = "creation_good_id", type = IdType.AUTO)
    private Integer creationGoodId;

    /**
     * 作品id
     */
    private Integer creationId;

    /**
     * 评论id
     */
    @TableField("comment_id")
    private Integer commentId;

    /**
     * 回复id
     */
    @TableField("reply_id")
    private Integer replyId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;


}
